set -e

bin=$(dirname "$0")
bin=$(
  cd "$bin"
  pwd
)
DE_DIR=$bin/..
DE_STATIC_DIR=$DE_DIR/../*-static

echo "[*] DATA_ENGINE_DIR: $DE_DIR"
echo "[*] DATA_ENGINE_STATIC_DIR: $DE_STATIC_DIR"

. $DE_DIR/.env

$DE_STATIC_DIR/logstash-7.11.1/bin/logstash --help
